opt subtitle "HI-TECH Software Omniscient Code Generator (Lite mode) build 10920"

opt pagewidth 120

	opt lm

	processor	16F887
clrc	macro
	bcf	3,0
	endm
clrz	macro
	bcf	3,2
	endm
setc	macro
	bsf	3,0
	endm
setz	macro
	bsf	3,2
	endm
skipc	macro
	btfss	3,0
	endm
skipz	macro
	btfss	3,2
	endm
skipnc	macro
	btfsc	3,0
	endm
skipnz	macro
	btfsc	3,2
	endm
indf	equ	0
indf0	equ	0
pc	equ	2
pcl	equ	2
status	equ	3
fsr	equ	4
fsr0	equ	4
c	equ	1
z	equ	0
pclath	equ	10
# 34 "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
	psect config,class=CONFIG,delta=2 ;#
# 34 "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
	dw 0xFFFA & 0xFFF7 & 0xFFEF & 0xFFFF & 0xFFFF & 0xFCFF & 0xFBFF & 0xF7FF & 0xEFFF & 0xFFFF ;#
# 35 "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
	psect config,class=CONFIG,delta=2 ;#
# 35 "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
	dw 0xFEFF ;#
	FNCALL	_main,_init_port
	FNCALL	_main,_systemInit
	FNCALL	_main,_scan_mouse
	FNCALL	_scan_mouse,_uart_putc
	FNCALL	_systemInit,_uart_init
	FNROOT	_main
	global	_RCREG
psect	text126,local,class=CODE,delta=2
global __ptext126
__ptext126:
_RCREG	set	26
	global	_TXREG
_TXREG	set	25
	global	_CARRY
_CARRY	set	24
	global	_CREN
_CREN	set	196
	global	_GIE
_GIE	set	95
	global	_RC0
_RC0	set	56
	global	_RC1
_RC1	set	57
	global	_RC2
_RC2	set	58
	global	_RC3
_RC3	set	59
	global	_RCIF
_RCIF	set	101
	global	_RX9
_RX9	set	198
	global	_SPEN
_SPEN	set	199
	global	_SREN
_SREN	set	197
	global	_TXIF
_TXIF	set	100
	global	_SPBRG
_SPBRG	set	153
	global	_TRISC
_TRISC	set	135
	global	_BRGH
_BRGH	set	1218
	global	_RCIE
_RCIE	set	1125
	global	_SYNC
_SYNC	set	1220
	global	_TRISC6
_TRISC6	set	1086
	global	_TRISC7
_TRISC7	set	1087
	global	_TX9
_TX9	set	1222
	global	_TXEN
_TXEN	set	1221
	global	_TXIE
_TXIE	set	1124
	global	_EEADR
_EEADR	set	269
	global	_EEDATA
_EEDATA	set	268
	global	_ANSEL
_ANSEL	set	392
	global	_ANSELH
_ANSELH	set	393
	global	_EECON1
_EECON1	set	396
	global	_EECON2
_EECON2	set	397
	global	_RD
_RD	set	3168
	global	_WR
_WR	set	3169
	global	_WREN
_WREN	set	3170
	file	"wuynh chuot.as"
	line	#
psect cinit,class=CODE,delta=2
global start_initialization
start_initialization:

psect cinit,class=CODE,delta=2
global end_of_initialization

;End of C runtime variable initialization code

end_of_initialization:
clrf status
ljmp _main	;jump to C main() function
psect	cstackCOMMON,class=COMMON,space=1
global __pcstackCOMMON
__pcstackCOMMON:
	global	?_uart_init
?_uart_init:	; 0 bytes @ 0x0
	global	??_uart_init
??_uart_init:	; 0 bytes @ 0x0
	global	?_uart_putc
?_uart_putc:	; 0 bytes @ 0x0
	global	??_uart_putc
??_uart_putc:	; 0 bytes @ 0x0
	global	?_init_port
?_init_port:	; 0 bytes @ 0x0
	global	??_init_port
??_init_port:	; 0 bytes @ 0x0
	global	?_systemInit
?_systemInit:	; 0 bytes @ 0x0
	global	??_systemInit
??_systemInit:	; 0 bytes @ 0x0
	global	?_scan_mouse
?_scan_mouse:	; 0 bytes @ 0x0
	global	?_main
?_main:	; 0 bytes @ 0x0
	global	uart_putc@c
uart_putc@c:	; 1 bytes @ 0x0
	ds	1
	global	??_scan_mouse
??_scan_mouse:	; 0 bytes @ 0x1
	ds	2
	global	??_main
??_main:	; 0 bytes @ 0x3
;;Data sizes: Strings 0, constant 0, data 0, bss 0, persistent 0 stack 0
;;Auto spaces:   Size  Autos    Used
;; COMMON          14      3       3
;; BANK0           80      0       0
;; BANK1           80      0       0
;; BANK3           96      0       0
;; BANK2           96      0       0

;;
;; Pointer list with targets:



;;
;; Critical Paths under _main in COMMON
;;
;;   _main->_scan_mouse
;;   _scan_mouse->_uart_putc
;;
;; Critical Paths under _main in BANK0
;;
;;   None.
;;
;; Critical Paths under _main in BANK1
;;
;;   None.
;;
;; Critical Paths under _main in BANK3
;;
;;   None.
;;
;; Critical Paths under _main in BANK2
;;
;;   None.

;;
;;Main: autosize = 0, tempsize = 0, incstack = 0, save=0
;;

;;
;;Call Graph Tables:
;;
;; ---------------------------------------------------------------------------------
;; (Depth) Function   	        Calls       Base Space   Used Autos Params    Refs
;; ---------------------------------------------------------------------------------
;; (0) _main                                                 0     0      0      15
;;                          _init_port
;;                         _systemInit
;;                         _scan_mouse
;; ---------------------------------------------------------------------------------
;; (1) _scan_mouse                                           2     2      0      15
;;                                              1 COMMON     2     2      0
;;                          _uart_putc
;; ---------------------------------------------------------------------------------
;; (1) _systemInit                                           0     0      0       0
;;                          _uart_init
;; ---------------------------------------------------------------------------------
;; (2) _uart_putc                                            1     1      0      15
;;                                              0 COMMON     1     1      0
;; ---------------------------------------------------------------------------------
;; (2) _uart_init                                            0     0      0       0
;; ---------------------------------------------------------------------------------
;; (1) _init_port                                            0     0      0       0
;; ---------------------------------------------------------------------------------
;; Estimated maximum stack depth 2
;; ---------------------------------------------------------------------------------

;; Call Graph Graphs:

;; _main (ROOT)
;;   _init_port
;;   _systemInit
;;     _uart_init
;;   _scan_mouse
;;     _uart_putc
;;

;; Address spaces:

;;Name               Size   Autos  Total    Cost      Usage
;;BITCOMMON            E      0       0       0        0.0%
;;EEDATA             100      0       0       0        0.0%
;;NULL                 0      0       0       0        0.0%
;;CODE                 0      0       0       0        0.0%
;;COMMON               E      3       3       1       21.4%
;;BITSFR0              0      0       0       1        0.0%
;;SFR0                 0      0       0       1        0.0%
;;BITSFR1              0      0       0       2        0.0%
;;SFR1                 0      0       0       2        0.0%
;;STACK                0      0       2       2        0.0%
;;ABS                  0      0       0       3        0.0%
;;BITBANK0            50      0       0       4        0.0%
;;BITSFR3              0      0       0       4        0.0%
;;SFR3                 0      0       0       4        0.0%
;;BANK0               50      0       0       5        0.0%
;;BITSFR2              0      0       0       5        0.0%
;;SFR2                 0      0       0       5        0.0%
;;BITBANK1            50      0       0       6        0.0%
;;BANK1               50      0       0       7        0.0%
;;BITBANK3            60      0       0       8        0.0%
;;BANK3               60      0       0       9        0.0%
;;BITBANK2            60      0       0      10        0.0%
;;BANK2               60      0       0      11        0.0%
;;DATA                 0      0       0      12        0.0%

	global	_main
psect	maintext,global,class=CODE,delta=2
global __pmaintext
__pmaintext:

;; *************** function _main *****************
;; Defined at:
;;		line 85 in file "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 17F/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels required when called:    2
;; This function calls:
;;		_init_port
;;		_systemInit
;;		_scan_mouse
;; This function is called by:
;;		Startup code after reset
;; This function uses a non-reentrant model
;;
psect	maintext
	file	"D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
	line	85
	global	__size_of_main
	__size_of_main	equ	__end_of_main-_main
	
_main:	
	opt	stack 6
; Regs used in _main: [wreg+status,2+status,0+pclath+cstack]
	line	86
	
l4408:	
;wuynh chuot.c: 86: init_port();
	fcall	_init_port
	line	87
;wuynh chuot.c: 87: systemInit();
	fcall	_systemInit
	line	88
;wuynh chuot.c: 88: while(1)
	
l1056:	
	line	90
;wuynh chuot.c: 89: {
;wuynh chuot.c: 90: scan_mouse();
	fcall	_scan_mouse
	goto	l1056
	line	91
	
l1057:	
	line	88
	goto	l1056
	
l1058:	
	line	92
	
l1059:	
	global	start
	ljmp	start
	opt stack 0
GLOBAL	__end_of_main
	__end_of_main:
;; =============== function _main ends ============

	signat	_main,88
	global	_scan_mouse
psect	text127,local,class=CODE,delta=2
global __ptext127
__ptext127:

;; *************** function _scan_mouse *****************
;; Defined at:
;;		line 57 in file "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          2       0       0       0       0
;;      Totals:         2       0       0       0       0
;;Total ram usage:        2 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_uart_putc
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text127
	file	"D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
	line	57
	global	__size_of_scan_mouse
	__size_of_scan_mouse	equ	__end_of_scan_mouse-_scan_mouse
	
_scan_mouse:	
	opt	stack 6
; Regs used in _scan_mouse: [wreg+status,2+status,0+pclath+cstack]
	line	58
	
l4390:	
;wuynh chuot.c: 58: if(RC0 == 1)
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfss	(56/8),(56)&7
	goto	u2261
	goto	u2260
u2261:
	goto	l1037
u2260:
	line	60
	
l4392:	
;wuynh chuot.c: 59: {
;wuynh chuot.c: 60: _delay((unsigned long)((10)*(4000000/4000.0)));
	opt asmopt_off
movlw	13
movwf	((??_scan_mouse+0)+0+1),f
	movlw	251
movwf	((??_scan_mouse+0)+0),f
u2347:
	decfsz	((??_scan_mouse+0)+0),f
	goto	u2347
	decfsz	((??_scan_mouse+0)+0+1),f
	goto	u2347
	nop2
opt asmopt_on

	line	61
	
l4394:	
;wuynh chuot.c: 61: uart_putc('1');
	movlw	(031h)
	fcall	_uart_putc
	line	62
;wuynh chuot.c: 62: while(RC0);
	goto	l1038
	
l1039:	
	
l1038:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(56/8),(56)&7
	goto	u2271
	goto	u2270
u2271:
	goto	l1038
u2270:
	goto	l1037
	
l1040:	
	line	63
	
l1037:	
	line	64
;wuynh chuot.c: 63: }
;wuynh chuot.c: 64: if(RC1 == 1)
	btfss	(57/8),(57)&7
	goto	u2281
	goto	u2280
u2281:
	goto	l1041
u2280:
	line	66
	
l4396:	
;wuynh chuot.c: 65: {
;wuynh chuot.c: 66: _delay((unsigned long)((10)*(4000000/4000.0)));
	opt asmopt_off
movlw	13
movwf	((??_scan_mouse+0)+0+1),f
	movlw	251
movwf	((??_scan_mouse+0)+0),f
u2357:
	decfsz	((??_scan_mouse+0)+0),f
	goto	u2357
	decfsz	((??_scan_mouse+0)+0+1),f
	goto	u2357
	nop2
opt asmopt_on

	line	67
	
l4398:	
;wuynh chuot.c: 67: uart_putc('2');
	movlw	(032h)
	fcall	_uart_putc
	line	68
;wuynh chuot.c: 68: while(RC1);
	goto	l1042
	
l1043:	
	
l1042:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(57/8),(57)&7
	goto	u2291
	goto	u2290
u2291:
	goto	l1042
u2290:
	goto	l1041
	
l1044:	
	line	69
	
l1041:	
	line	70
;wuynh chuot.c: 69: }
;wuynh chuot.c: 70: if(RC2 == 1)
	btfss	(58/8),(58)&7
	goto	u2301
	goto	u2300
u2301:
	goto	l1045
u2300:
	line	72
	
l4400:	
;wuynh chuot.c: 71: {
;wuynh chuot.c: 72: _delay((unsigned long)((10)*(4000000/4000.0)));
	opt asmopt_off
movlw	13
movwf	((??_scan_mouse+0)+0+1),f
	movlw	251
movwf	((??_scan_mouse+0)+0),f
u2367:
	decfsz	((??_scan_mouse+0)+0),f
	goto	u2367
	decfsz	((??_scan_mouse+0)+0+1),f
	goto	u2367
	nop2
opt asmopt_on

	line	73
	
l4402:	
;wuynh chuot.c: 73: uart_putc('3');
	movlw	(033h)
	fcall	_uart_putc
	line	74
;wuynh chuot.c: 74: while(RC2);
	goto	l1046
	
l1047:	
	
l1046:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(58/8),(58)&7
	goto	u2311
	goto	u2310
u2311:
	goto	l1046
u2310:
	goto	l1045
	
l1048:	
	line	75
	
l1045:	
	line	76
;wuynh chuot.c: 75: }
;wuynh chuot.c: 76: if(RC3 == 1)
	btfss	(59/8),(59)&7
	goto	u2321
	goto	u2320
u2321:
	goto	l1053
u2320:
	line	78
	
l4404:	
;wuynh chuot.c: 77: {
;wuynh chuot.c: 78: _delay((unsigned long)((10)*(4000000/4000.0)));
	opt asmopt_off
movlw	13
movwf	((??_scan_mouse+0)+0+1),f
	movlw	251
movwf	((??_scan_mouse+0)+0),f
u2377:
	decfsz	((??_scan_mouse+0)+0),f
	goto	u2377
	decfsz	((??_scan_mouse+0)+0+1),f
	goto	u2377
	nop2
opt asmopt_on

	line	79
	
l4406:	
;wuynh chuot.c: 79: uart_putc('4');
	movlw	(034h)
	fcall	_uart_putc
	line	80
;wuynh chuot.c: 80: while(RC3);
	goto	l1050
	
l1051:	
	
l1050:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfsc	(59/8),(59)&7
	goto	u2331
	goto	u2330
u2331:
	goto	l1050
u2330:
	goto	l1053
	
l1052:	
	goto	l1053
	line	81
	
l1049:	
	line	82
	
l1053:	
	return
	opt stack 0
GLOBAL	__end_of_scan_mouse
	__end_of_scan_mouse:
;; =============== function _scan_mouse ends ============

	signat	_scan_mouse,88
	global	_systemInit
psect	text128,local,class=CODE,delta=2
global __ptext128
__ptext128:

;; *************** function _systemInit *****************
;; Defined at:
;;		line 51 in file "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg, status,2, status,0, pclath, cstack
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; Hardware stack levels required when called:    1
;; This function calls:
;;		_uart_init
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text128
	file	"D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
	line	51
	global	__size_of_systemInit
	__size_of_systemInit	equ	__end_of_systemInit-_systemInit
	
_systemInit:	
	opt	stack 6
; Regs used in _systemInit: [wreg+status,2+status,0+pclath+cstack]
	line	52
	
l4386:	
;wuynh chuot.c: 52: ANSEL = 0;
	bsf	status, 5	;RP0=1, select bank3
	bsf	status, 6	;RP1=1, select bank3
	clrf	(392)^0180h	;volatile
	line	53
;wuynh chuot.c: 53: ANSELH = 0;
	clrf	(393)^0180h	;volatile
	line	54
	
l4388:	
;wuynh chuot.c: 54: uart_init();
	fcall	_uart_init
	line	55
	
l1034:	
	return
	opt stack 0
GLOBAL	__end_of_systemInit
	__end_of_systemInit:
;; =============== function _systemInit ends ============

	signat	_systemInit,88
	global	_uart_putc
psect	text129,local,class=CODE,delta=2
global __ptext129
__ptext129:

;; *************** function _uart_putc *****************
;; Defined at:
;;		line 40 in file "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\uart.c"
;; Parameters:    Size  Location     Type
;;  c               1    wreg     unsigned char 
;; Auto vars:     Size  Location     Type
;;  c               1    0[COMMON] unsigned char 
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         1       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         1       0       0       0       0
;;Total ram usage:        1 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_scan_mouse
;;		_uart_puts
;; This function uses a non-reentrant model
;;
psect	text129
	file	"D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\uart.c"
	line	40
	global	__size_of_uart_putc
	__size_of_uart_putc	equ	__end_of_uart_putc-_uart_putc
	
_uart_putc:	
	opt	stack 6
; Regs used in _uart_putc: [wreg]
;uart_putc@c stored from wreg
	movwf	(uart_putc@c)
	line	41
	
l3496:	
;uart.c: 41: while(!TXIF);
	goto	l2087
	
l2088:	
	
l2087:	
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	btfss	(100/8),(100)&7
	goto	u11
	goto	u10
u11:
	goto	l2087
u10:
	goto	l3498
	
l2089:	
	line	42
	
l3498:	
;uart.c: 42: TXREG = c;
	movf	(uart_putc@c),w
	movwf	(25)	;volatile
	line	43
	
l2090:	
	return
	opt stack 0
GLOBAL	__end_of_uart_putc
	__end_of_uart_putc:
;; =============== function _uart_putc ends ============

	signat	_uart_putc,4216
	global	_uart_init
psect	text130,local,class=CODE,delta=2
global __ptext130
__ptext130:

;; *************** function _uart_init *****************
;; Defined at:
;;		line 5 in file "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\uart.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_systemInit
;; This function uses a non-reentrant model
;;
psect	text130
	file	"D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\uart.c"
	line	5
	global	__size_of_uart_init
	__size_of_uart_init	equ	__end_of_uart_init-_uart_init
	
_uart_init:	
	opt	stack 6
; Regs used in _uart_init: [wreg]
	line	24
	
l3468:	
;uart.c: 24: SPBRG= 25;
	movlw	(019h)
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	movwf	(153)^080h	;volatile
	line	25
	
l3470:	
;uart.c: 25: BRGH= 1;
	bsf	(1218/8)^080h,(1218)&7
	line	26
	
l3472:	
;uart.c: 26: SYNC=0;
	bcf	(1220/8)^080h,(1220)&7
	line	27
	
l3474:	
;uart.c: 27: SPEN=1;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bsf	(199/8),(199)&7
	line	28
	
l3476:	
;uart.c: 28: CREN=1;
	bsf	(196/8),(196)&7
	line	29
	
l3478:	
;uart.c: 29: SREN=0;
	bcf	(197/8),(197)&7
	line	30
	
l3480:	
;uart.c: 30: TXIE=0;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1124/8)^080h,(1124)&7
	line	31
	
l3482:	
;uart.c: 31: RCIE=0;
	bcf	(1125/8)^080h,(1125)&7
	line	32
	
l3484:	
;uart.c: 32: TX9=0;
	bcf	(1222/8)^080h,(1222)&7
	line	33
	
l3486:	
;uart.c: 33: RX9=0;
	bcf	status, 5	;RP0=0, select bank0
	bcf	status, 6	;RP1=0, select bank0
	bcf	(198/8),(198)&7
	line	34
	
l3488:	
;uart.c: 34: TXEN=0;
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	bcf	(1221/8)^080h,(1221)&7
	line	35
	
l3490:	
;uart.c: 35: TXEN=1;
	bsf	(1221/8)^080h,(1221)&7
	line	36
	
l3492:	
;uart.c: 36: TRISC6 = 0;
	bcf	(1086/8)^080h,(1086)&7
	line	37
	
l3494:	
;uart.c: 37: TRISC7 = 1;
	bsf	(1087/8)^080h,(1087)&7
	line	38
	
l2084:	
	return
	opt stack 0
GLOBAL	__end_of_uart_init
	__end_of_uart_init:
;; =============== function _uart_init ends ============

	signat	_uart_init,88
	global	_init_port
psect	text131,local,class=CODE,delta=2
global __ptext131
__ptext131:

;; *************** function _init_port *****************
;; Defined at:
;;		line 47 in file "D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
;; Parameters:    Size  Location     Type
;;		None
;; Auto vars:     Size  Location     Type
;;		None
;; Return value:  Size  Location     Type
;;		None               void
;; Registers used:
;;		wreg
;; Tracked objects:
;;		On entry : 0/0
;;		On exit  : 0/0
;;		Unchanged: 0/0
;; Data sizes:     COMMON   BANK0   BANK1   BANK3   BANK2
;;      Params:         0       0       0       0       0
;;      Locals:         0       0       0       0       0
;;      Temps:          0       0       0       0       0
;;      Totals:         0       0       0       0       0
;;Total ram usage:        0 bytes
;; Hardware stack levels used:    1
;; This function calls:
;;		Nothing
;; This function is called by:
;;		_main
;; This function uses a non-reentrant model
;;
psect	text131
	file	"D:\Goc hoc tap\NCKH\C6\Tot nghiep nao\file projects\code for hardware\wuynh chuot\wuynh chuot.c"
	line	47
	global	__size_of_init_port
	__size_of_init_port	equ	__end_of_init_port-_init_port
	
_init_port:	
	opt	stack 7
; Regs used in _init_port: [wreg]
	line	48
	
l3466:	
;wuynh chuot.c: 48: TRISC = 0xFF;
	movlw	(0FFh)
	bsf	status, 5	;RP0=1, select bank1
	bcf	status, 6	;RP1=0, select bank1
	movwf	(135)^080h	;volatile
	line	49
	
l1031:	
	return
	opt stack 0
GLOBAL	__end_of_init_port
	__end_of_init_port:
;; =============== function _init_port ends ============

	signat	_init_port,88
psect	text132,local,class=CODE,delta=2
global __ptext132
__ptext132:
	global	btemp
	btemp set 07Eh

	DABS	1,126,2	;btemp
	global	wtemp0
	wtemp0 set btemp
	end
